package main

import (
	"flag"

	"htmlcli"
	"htmlcli/conf"
)

var cfgFileName = flag.String("c", "./conf.ini", "")

func main() {
	flag.Parse()
	cfg, err := conf.LoadConf(*cfgFileName)
	if err != nil {
		panic(err)
	}
	app := htmlcli.NewApp(cfg)
	err = app.Run()
}
